import request from '@/utils/request'

export function addSupplier(data) {
    return request({
        url: '/supplier/addSupplier',
        method: 'post',
        data
    })
}

export function deleteSupplierBySupplierID(data) {
    return request({
        url: '/supplier/deleteSupplierBySupplierID',
        method: 'post',
        data
    })
}

export function getSupplierByID(data) {
    return request({
        url: '/supplier/getSupplierByID',
        method: 'get',
        params: data
    })
}

export function getSupplierList(data) {
    return request({
        url: '/supplier/getSupplierList',
        method: 'get',
        params: data
    })
}


